package com.xinli.business.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.xinli.common.annotation.Excel;
import com.xinli.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 问题回复对象 t_question_reply
 *
 * @author ruoyi
 * @date 2025-03-24
 */
@Data
@TableName(value = "t_question_reply")
@EqualsAndHashCode(callSuper = true)
public class TQuestionReply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "问题Id"
     */
    @Excel(name = "问题Id")
    private String questionId;

    /**
     * "回复内容"
     */
    @Excel(name = "回复内容")
    private String content;

    /**
     * "咨询师Id"
     */
    @Excel(name = "咨询师Id")
    private String memberId;

    /**
     * "用户Id"
     */
    @Excel(name = "用户Id")
    private String userId;

    /**
     * "回复时间"
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date replyDate;

    /**
     * "点赞数量"
     */
    @Excel(name = "点赞数量")
    private Long dzCount;

    /**
     * "转发数量"
     */
    @Excel(name = "转发数量")
    private Long forwardCount;

    /**
     * "评论数量"
     */
    @Excel(name = "评论数量")
    private Long plCount;

    /**
     * "姓名"
     */
    @TableField(exist = false)
    private String  name;

    /**
     * "头像"
     */
    @TableField(exist = false)
    private String  avatar;








}
